﻿using System.ComponentModel.DataAnnotations;

namespace Web.Models.His
{
    public class CheckBillRequest
    {

        /// <summary>
        /// 业务编号
        /// </summary>
        public string TranCode { get; set; } = "0022";

        /// <summary>
        /// 周期号
        /// </summary>
        public string PeriodNum { get; set; }

        /// <summary>
        /// 设备ID
        /// </summary>
        [Required]
        public string MachineId { get; set; }

        /// <summary>
        /// 支付方式: XJ=现金 WX=微信 ZFB=支付宝
        /// </summary>
        [Required]
        public string TranType { get; set; }

        /// <summary>
        /// 开始时间, 格式: yyyy-MM-dd HH:mm:ss
        /// </summary>
        [Required]
        public string BillDate { get; set; }

        /// <summary>
        /// 结束时间, 格式: yyyy-MM-dd HH:mm:ss
        /// </summary>
        [Required]
        public string EndDate { get; set; }
    }
}
